package com.inifitness.admin.core.system.model.query;


import jakarta.validation.constraints.NotEmpty;

import com.inifitness.common.basic.BasePageQuery;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 系统管理-事件参数分页对象
 *
 * @author sunjinfeng
 * @since 2024-05-31 13:46:16
 */

@EqualsAndHashCode(callSuper = true)
@Data
@Schema(description = "分页查询对象")
public class EventParamPageQuery extends BasePageQuery {

  @Schema(description = "关键字")
  private String keywords;

  @Schema(description = "事件编码")
  @NotEmpty(message = "事件编码不能为空")
  private String eventCode;
}
